package com.mogu.biguser.dao.biguser;

import com.mogu.biguser.domain.biguser.UserWateryear;
import com.mogu.biguser.service.dto.statistics.ParamTime;
import com.mogu.biguser.service.dto.statistics.Water;

import java.util.List;

public interface UserWateryearMapper {
    int deleteByPrimaryKey(Short id);

    int insert(UserWateryear record);

    int insertSelective(UserWateryear record);

    UserWateryear selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(UserWateryear record);

    int updateByPrimaryKey(UserWateryear record);

    List<UserWateryear> selSupplyYearByUserNum(ParamTime paramTime);

    List<UserWateryear> selDrainYearByUserNum(ParamTime paramTime);

    List<Water> selWaterDMin(ParamTime paramTime);

    List<Water> selWaterDMax(ParamTime paramTime);

    List<Water> selWaterSMin(ParamTime paramTime);

    List<Water> selWaterSMax(ParamTime paramTime);
}